<?php

namespace App\Utils\Helper;


use App\Entity\Log;

class LogHelper {

    /**
     * User: Gao
     * Date: 2020/4/3
     * Description: 记录日志
     * @param $log_type_id
     * @param $description
     * @param null $parameter
     */
    public static function buildLog ($log_type_id, $description, $parameter = null) {
        GetterHelper::getEntityManager()->getRepository(Log::class)->buildLog($log_type_id, $description, $parameter);
    }

}